package me.sealer.ssm.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import me.sealer.ssm.model.Role;

import java.util.List;

/**
 * @author sealer
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户角色列表查询响应报文体")
public class QueryRolesResponse {
    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户拥有的角色id列表")
    private List<Integer> havingRolesIds;

    @ApiModelProperty(value = "系统内所有角色列表")
    private List<Role> allRoles;
}
